<template>
  <CatalogShowButton v-model:is-expand="show"></CatalogShowButton>
  <n-drawer v-model:show="show" placement="left">
    <slot ></slot>
  </n-drawer>
</template>

<script setup lang="ts">


import {useVModel} from "@vueuse/core";
import CatalogShowButton from "@/components/pc/button/CatalogShowButton.vue";


const props = defineProps({
  isShow: {
    type: Boolean,
    default: false
  }
})
const emit = defineEmits(['update:isShow'])

const show = useVModel(props, 'isShow', emit)

</script>

<style scoped>


</style>